package com.java110.mall.cart.bmo.businessQuery;

import com.alibaba.fastjson.JSONObject;
import com.java110.dto.product.ProductGroupDto;
import com.java110.dto.product.ProductGroupOrderDto;

import java.util.List;

public interface IBusinessQueryGroup {
    /**
     * 根据商品名称查询
     * @param reqJson
     * @param searchValue
     * @param shopId
     * @param productGroupDtos
     */
    void queryGroupByGoodsName(JSONObject reqJson, String searchValue, String shopId, List<ProductGroupDto> productGroupDtos);

    /**
     * 根据商品ID查询
     * @param reqJson
     * @param searchValue
     * @param shopId
     * @param productGroupDtos
     */
    void queryGroupByProductId(JSONObject reqJson, String searchValue, String shopId, List<ProductGroupDto> productGroupDtos);

    void queryGroupOrderByGroupId(JSONObject reqJson, String searchValue, String shopId, List<ProductGroupOrderDto> productGroupOrderDtos);
}
